package com.yuhang.service.impl;

import com.yuhang.entity.HyBuild;
import com.yuhang.entity.Tree;
import com.yuhang.mapper.HyBillMapper;
import com.yuhang.mapper.HyBuildMapper;
import com.yuhang.service.HyBuildService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yuhang
 * @since 2021-04-20
 */
@Service
public class HyBuildServiceImpl extends ServiceImpl<HyBuildMapper, HyBuild> implements HyBuildService {

    @Autowired
    private HyBuildMapper hyBuildMapper;

    @Override
    public List<Tree> selectTree() {
        return hyBuildMapper.selectTree();
    }
}
